32 research outputs found

    Run Generation Revisited: What Goes Up May or May Not Come Down

    Full text link
    In this paper, we revisit the classic problem of run generation. Run generation is the first phase of external-memory sorting, where the objective is to scan through the data, reorder elements using a small buffer of size M , and output runs (contiguously sorted chunks of elements) that are as long as possible. We develop algorithms for minimizing the total number of runs (or equivalently, maximizing the average run length) when the runs are allowed to be sorted or reverse sorted. We study the problem in the online setting, both with and without resource augmentation, and in the offline setting. (1) We analyze alternating-up-down replacement selection (runs alternate between sorted and reverse sorted), which was studied by Knuth as far back as 1963. We show that this simple policy is asymptotically optimal. Specifically, we show that alternating-up-down replacement selection is 2-competitive and no deterministic online algorithm can perform better. (2) We give online algorithms having smaller competitive ratios with resource augmentation. Specifically, we exhibit a deterministic algorithm that, when given a buffer of size 4M , is able to match or beat any optimal algorithm having a buffer of size M . Furthermore, we present a randomized online algorithm which is 7/4-competitive when given a buffer twice that of the optimal. (3) We demonstrate that performance can also be improved with a small amount of foresight. We give an algorithm, which is 3/2-competitive, with foreknowledge of the next 3M elements of the input stream. For the extreme case where all future elements are known, we design a PTAS for computing the optimal strategy a run generation algorithm must follow. (4) Finally, we present algorithms tailored for nearly sorted inputs which are guaranteed to have optimal solutions with sufficiently long runs

    Influence of resource availability on the foraging strategies of the triangle butterflyfish chaetodon triangulum in the Maldives.

    Get PDF
    Obligate coral feeders such as many members of the Chaetodontidae family (also known as butterflyfish) often show strong preferences for particular coral species. This is thought to have evolved through natural selection as an energy-maximising strategy. Although some species remain as highly specialised feeders throughout their lifetime, many corallivores show a degree of dietary versatility when food abundance is limited; a strategy described by the optimal foraging theory. This study aimed to examine if, within-reef differences in the feeding regime and territory size of the Triangle Butterflyfish Chaetodon triangulum occurred, as a function of resource availability. Results showed that the dietary specialisation of C. triangulum was significant in both areas of low and high coral cover (χL22 = 2.52 x 102, P<0.001 and χL22 = 3.78 x 102, P<0.001 respectively). Resource selection functions (RSFs), calculated for the two main sites of contrasting coral assemblage, showed that in the resource-rich environments, only two Genera (Acropora and Pocillopora) were preferentially selected for, with the majority of other corals being actively ‘avoided’. Conversely, in territories of lower coral coverage, C. triangulum was being less selective in its prey choice and consuming corals in a more even distribution with respect to their availability. Interestingly, coral cover appeared to show no significant effect on feeding rate, however it was a primary determinant of territory size. The findings of the study agree with the predictions of the optimal foraging theory, in that where food supply is scarce, dietary specialisation is minimised and territory size increased. This results in maximising energy intake. This study represents the first scientific evidence that C. triangulum is an obligate corallivore and, as with many other butterflyfish, is therefore dependent on healthy scleractinian corals for survival.N

    The assessment of circulating volume using inferior vena cava collapse index and carotid Doppler velocity time integral in healthy volunteers: a pilot study

    Get PDF
    International audienceBackground: Assessment of circulating volume and the requirement for fluid replacement are fundamental to resuscitation but remain largely empirical. Passive leg raise (PLR) may determine fluid responders while avoiding potential fluid overload. We hypothesised that inferior vena cava collapse index (IVCCI) and carotid artery blood flow would change predictably in response to PLR, potentially providing a non-invasive tool to assess circulating volume and identifying fluid responsive patients.Methods: We conducted a prospective proof of concept pilot study on fasted healthy volunteers. One operator measured IVC diameter during quiet respiration and sniff, and carotid artery flow. Stroke volume (SV) was also measured using suprasternal Doppler. Our primary endpoint was change in IVCCI after PLR. We also studied changes in IVCCI after “sniff”, and correlation between carotid artery flow and SV.Results: Passive leg raise was associated with significant reduction in the mean inferior vena cava collapsibility index from 0.24 to 0.17 (p < 0.01). Mean stroke volume increased from 56.0 to 69.2 mL (p < 0.01). There was no significant change in common carotid artery blood flow. Changes in physiology consequent upon passive leg raise normalised rapidly.Discussion: Passive leg raise is associated with a decrease of IVCCI and increase in stroke volume. However, the wide range of values observed suggests that factors other than circulating volume predominate in determining the proportion of collapse with respiration.Conclusion: In contrast to other studies, we did not find that carotid blood flow increased with passive leg raise. Rapid normalisation of post-PLR physiology may account for this

    Control of substrate access to the active site in methane monooxygenase

    Get PDF
    Methanotrophs consume methane as their major carbon source and have an essential role in the global carbon cycle by limiting escape of this greenhouse gas to the atmosphere. These bacteria oxidize methane to methanol by soluble and particulate methane monooxygenases (MMOs). Soluble MMO contains three protein components, a 251-kilodalton hydroxylase (MMOH), a 38.6-kilodalton reductase (MMOR), and a 15.9-kilodalton regulatory protein (MMOB), required to couple electron consumption with substrate hydroxylation at the catalytic diiron centre of MMOH. Until now, the role of MMOB has remained ambiguous owing to a lack of atomic-level information about the MMOH–MMOB (hereafter termed H–B) complex. Here we remedy this deficiency by providing a crystal structure of H–B, which reveals the manner by which MMOB controls the conformation of residues in MMOH crucial for substrate access to the active site. MMOB docks at the α[subscript 2]ÎČ[subscript 2] interface of α[subscript 2]ÎČ[subscript 2]Îł[subscript 2] MMOH, and triggers simultaneous conformational changes in the α-subunit that modulate oxygen and methane access as well as proton delivery to the diiron centre. Without such careful control by MMOB of these substrate routes to the diiron active site, the enzyme operates as an NADH oxidase rather than a monooxygenase. Biological catalysis involving small substrates is often accomplished in nature by large proteins and protein complexes. The structure presented in this work provides an elegant example of this principle.National Institute of General Medical Sciences (U.S.) (Grant GM 32114

    Botulinum toxin to improve results in cleft lip repair: a double-blinded, randomized, vehicle-controlled clinical trial.

    No full text
    Most patients with facial scarring would value even a slight improvement in scar quality. Botulinum toxin A is widely used to alleviate facial dynamic rhytides but is also believed to improve scar quality by reducing wound tension during healing. The main objective was to assess the effect of Botulinum toxin on scars resultant from standardized upper lip wounds.This article is freely available via Open Access. Click on the 'Additional Link' to access the full-text
    corecore